/**
 * 
 */
package de.rotkiv.common.util;

/**
 * @author Vik
 *
 */
public class StringUtil {


	public static int getIntValue(String string) {
		int result = 0;
		if (string != null) {
			try {
				result = Integer.valueOf(string);
			} catch (NumberFormatException e) {
				// nothing
			}
		}
		return result;
	}

}
